package data;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class Score {
	private Player	player;
	private Game	game;
	private Integer	points;
	private Boolean	active;
	
	public Score() { super(); }
	
	public Score(Player player, Game game, Integer points, Boolean active) {
		this.setPlayer (player);
		this.setGame (game);
		this.setPoints (points);
		this.setActive (active);
	}

	public Player getPlayer() { return player; }
	public Game getGame() { return game; }
	public Integer getPoints() { return points; }
	public Boolean getActive() { return active; }
	public Score setPlayer(Player player) {
		this.player = player;
		return this;
	}
	public Score setGame(Game game) {
		this.game = game;
		return this;
	}
	public Score setPoints(Integer points) {
		this.points = points;
		return this;
	}
	public Score setActive(Boolean active) {
		this.active = active;
		return this;
	}
	
	
}
